// User data may be stored in shared preferences. Possible deletion of file.

package com.pillpoppers.pillbox.database;

public class User
{
	private String name;
	private String address;
	private String phoneNumber;
	private String email;
	private String userID;
	private boolean isDoctor;
	
	public User()
	{
		name = "";
		address = "";
		phoneNumber = "";
		email = "";
		userID = "";
		isDoctor = false;
	}

	public User(String name, boolean isDoctor)
	{
		this.name = name;
		address = "";
		phoneNumber = "";
		email = "";
		userID = "";		
		this.isDoctor = isDoctor;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public String getName()
	{
		return name;
	}
	
	public void setAddress(String address)
	{
		this.address = address;
	}
	
	public String getAddress()
	{
		return address;
	}
	
	public void setPhoneNumber(String phoneNumber)
	{
		this.phoneNumber = phoneNumber;
	}
	
	public String getPhoneNumber()
	{
		return phoneNumber;
	}
	
	public void setEmail(String email)
	{
		this.email = email;
	}
	
	public String getEmail()
	{
		return email;
	}
	
	public void setUserID(String userID)
	{
		this.userID = userID;
	}
	
	public String getUserID()
	{
		return userID;
	}
	
	public boolean getIsDoctor()
	{
		return isDoctor;
	}
}